
<?php
require_once("common.inc.php");
if(!$user) header("Location: login.html");
$id = getParam("Id"); 
$sql ="delete  from `article` where Id=$id";
$conn = new mysqli("localhost","root","","myblog");
$rs = $conn->query($sql);
if($conn->error) die($conn->error);
header("Location: list3.php");
?>
